#ifndef _PROC_FILE_H_
#define _PROC_FILE_H_


int WriteData(char *file,void* Buff,int size,int index);
int ReadData(char *file,void* Buff,int size,int index);
int SaveRecord(T_RECORD *pRecord);
int CheckRecordSpace();
int GetRecordByTrace(T_RECORD *pRecord,char *trace_no);
int GetRecordByIndex(T_RECORD *pRecord,int index);
int WriteTermData();
int WriteParamData();
int WriteRecordData();
int ReadTermData();
int ReadParamData();
int ReadRecordData();
unsigned long CountSalePer();


#endif

